package com.bookstore.service;

import java.util.List;

import com.bookstore.model.User;

public interface UserService {

	public void save(User user) throws Exception;
	public List<User> findAll() throws Exception;
	public User findByEmail(String email) throws Exception;
	public User findById(int id) throws Exception;
	public void update(User user) throws Exception;
}
